<%doc>
	# escaping see http://www.masonbook.com/book/chapter-2.mhtml (Esapcing subsutution). 
</%doc>

<%attr>
	sHead => "show subcategory"
</%attr>

<%init>
	my $subcategory = $m->comp($m->notes('app_root_path') . "/dao/subcategory_dao.mi:findById", id => $m->notes('url_id'));
	$m->comp($m->notes('app_root_path') . '/view/show.mi', 
			entity => $subcategory, 
			entity_name => 'subcategory', 
			field_names => ['name', 'category_name'],
			field_titles => { 'name' => 'name', 'category_name' => 'category'});
</%init>
